class Point {
	public int x;
	public int y;
}

public class PassTest {
	public static void increment(int x){
		++x;
		System.out.println("Increment:"+x);
	}

	public static void reset(Point point){
		point.x = 0;
		point.y = 0;
	}
	public static void main(String [] args){
		int x = 9;
		increment(x);
		System.out.println(x);

		Point p = new Point();
		p.x = 400;
		p.y = 600;

		reset(p);

		System.out.println(p.x);
		System.out.println(p.y);
	
	}
}
